﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace KBWebApi.Model
{
    [SugarTable("UserT")]
    public class UserDto
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public string UserId { get; set; }

        public string UserName { get; set; }

        public string Password { get; set; }

        public string Role { get; set; }

        public int WorkShopId { get; set; }

        public DateTime CreateDate { get; set; }

        public string Creator { get; set; }

        public DateTime UpdateDate { get; set; }

        public string Updater { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string Message { get; set; }
    }
}
